package com.ruoyi.omp.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.system.api.domain.SysFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 楼栋对象 omp_bui_building
 *
 * @author cjie
 * @date 2021-07-20
 */
@Data
@ApiModel
public class BuiBuilding extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 楼栋编号 */
    @Excel(name = "楼栋编号")
    @ApiModelProperty(value = "楼栋编号")
    private String buildingNum;

    /** 园区地址 */
    @Excel(name = "园区地址")
    @ApiModelProperty(value = "园区地址")
    private String buildingAddress;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 园区Id */
    @Excel(name = "园区Id")
    @ApiModelProperty(value = "园区Id")
    private String parkId;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性
    /** 附件份数 */
    @Excel(name = "附件份数")
    @ApiModelProperty(value = "附件份数")
    private Integer fileAmount;

    /** 附件id集合 */
    @Excel(name = "附件id集合")
    @ApiModelProperty(value = "附件id集合")
    private List<Long> fileIdList;

    /** 附件集合 */
    @Excel(name = "附件集合")
    @ApiModelProperty(value = "附件集合")
    private List<SysFile> fileList;

    /** 园区编号 */
    @Excel(name = "园区编号")
    @ApiModelProperty(value = "园区编号")
    private String parkNum;
}
